package com.zsc.edu.testrecyclerview;

class MyItemNet {
    // 资源对应的id号，图片和字符串
    String news; // 新闻文本内容
    String img; // 新闻大图片
    int hot_img; //热度小图片
    int share_img; //分享小图片
    int hot; //热度值
    int share; //分享数量

    public MyItemNet(String news, String img, int hot_img, int share_img, int hot, int share) {
        this.news = news;
        this.img = img;
        this.hot_img = hot_img;
        this.share_img = share_img;
        this.hot = hot;
        this.share = share;
    }

    public String getNews() {
        return news;
    }

    public void setNews(String news) {
        this.news = news;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getHot_img() {
        return hot_img;
    }

    public void setHot_img(int hot_img) {
        this.hot_img = hot_img;
    }

    public int getShare_img() {
        return share_img;
    }

    public void setShare_img(int share_img) {
        this.share_img = share_img;
    }

    public int getHot() {
        return hot;
    }

    public void setHot(int hot) {
        this.hot = hot;
    }

    public int getShare() {
        return share;
    }

    public void setShare(int share) {
        this.share = share;
    }
}
